package com.engr.lyx.platform.biz;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.security.oauth2.config.annotation.web.configuration.EnableResourceServer;

/**
 * @program: blog
 * @desc:
 * @author: lyx
 * @date: 2019-04-08 17:42
 **/
@SpringBootApplication
@EnableDiscoveryClient
@EnableResourceServer
@EntityScan(basePackages = "com.engr.lyx.platform.client.entity")
@ComponentScan("com.engr.lyx")
public class AdminApplication {

    public static void main(String[] args) {
        SpringApplication.run(AdminApplication.class, args);
    }

}
